<!DOCTYPE html>
<html>
<head>
<script>
onkeypress = function(e) {
    var tf = document.getElementById("tf");
    tf.focus();
}

onload = function() {
    if (window.testRunner)
        eventSender.keyDown("Enter");
}
</script>
</head>
<body>
Test that firing a \n char event at a text field doesn't insert line breaks. To
run the test manually, ensure that the input field below is not focused, and
hit enter. The test passes, if the caret stays inside the input field.<br>
<input id="tf" type="text"></input>
</body>
</html>
